﻿using MyWeb.ServiceBus.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.ServiceBus.Services.SeedData
{
    public class AppSystemSeedData : IEntitySeedData<AppSystem>
    {
        public IEnumerable<AppSystem> HasData()
        {
            return new[]
            {
                new AppSystem { Id = 1,OrgId = 1,Code = "0036000001",CNName = "ERP系统",CNAbbr = "ERP",ENName = "Enterprise Resource Planning System",ENAbbr = "ERP",ThresholdValue = 60,CreateDate = DateTime.UtcNow,CreateUserId = 1},
                new AppSystem { Id = 2,OrgId = 1,Code = "0036000002",CNName = "MES系统",CNAbbr = "MES",ENName = "Manufacturing Execution System",ENAbbr = "MES",ThresholdValue = 60,CreateDate = DateTime.UtcNow,CreateUserId = 1},
                new AppSystem { Id = 3,OrgId = 1,Code = "0036000003",CNName = "内部系统",CNAbbr = "内部",ENName = "Internal System",ENAbbr = "INNER",ThresholdValue = 60,CreateDate = DateTime.UtcNow,CreateUserId = 1},
                new AppSystem { Id = 4,OrgId = 1,Code = "0036000004",CNName = "外部系统",CNAbbr = "外部",ENName = "External System",ENAbbr = "EXTERNAL",ThresholdValue = 60,CreateDate = DateTime.UtcNow,CreateUserId = 1},
            };
        }
    }
}
